<%-- 
    Author     : Vodo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="../css/myStyle.css">
        
    </head>
    <body>
        <h1>Register</h1>
        <form action ="../Register" method="post">
        <table border="0" >
            <tbody>
                <tr>
                    <td class="login">username:</td>
                    <td><input type="text" name="username" value="" /></td>
                </tr>
                <tr>
                    <td class="login" >password:</td>
                    <td><input type="password" name="password" value="" /></td>
                </tr>
                <td class="login" >confirm password:</td>
                    <td><input type="password" name="confirmPassword" value="" /></td>
                 <tr>
                     <td><input type="submit" value="Register" /></td>
                </tr>
            </tbody>
        </table>
          </form>
        <br/>
        
        <br/>
        <%
            String errMsg = (String)session.getAttribute("error");
            if(errMsg != null)
            {
              out.println("<div class='error'>"+errMsg.toString()+"</div>");  
            }
        %>
        
    
    </body>
</html>
